﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.lmpop.frame.util.RandomID"%>
<%@page import="com.lmpop.createIndex.search.B2CHelpIndexFiles"%>
<jsp:useBean id="randomId" class="com.lmpop.frame.util.RandomID" scope="page" />  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>雷鸣商城-用户注册</title>
		<link href="/templets/html/shop/css/style.css" rel="stylesheet"
			type="text/css" />
		<link href="/templets/html/shop/css/login.css" rel="stylesheet"
			type="text/css" />
		<script type="text/javascript" src="/js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript" src="/comms/shop/newsReg.js"></script>
		<script type='text/javascript' src='/dwr/engine.js'></script>
		<script type='text/javascript' src='/dwr/util.js'></script>
		<script type='text/javascript' src='/dwr/interface/Ti_subscribeInfo.js'></script> 
		<script type='text/javascript' src='/templets/html/shop/js/_shop.js'></script>
	</head>
	<body>
	<%
		
		String cust_id = randomId.GenTradeId(); 
		String user_id = randomId.GenTradeId(); 
		%>
		<script>
		  document.write("<s" + "cript type='text/javascript' src='/templets/html/shop/top.jsp'></scr" + "ipt>"); 
		</script>
<div id="contaner">

  <div class="chengxu">
    <div class="chengxu_m">
      <ul>        
	  <li class="tex_current">登录/注册<small>login/regist</small><img align="absmiddle" src="/templets/html/shop/images/jiantou_r.gif" /></li>
        <li class="txt_li">我的购物车<small>shopping cart</small><img align="absmiddle" src="/templets/html/shop/images/jiantou.gif" /></li>
        <li class="txt_li">填写订单信息<small>order information</small><img align="absmiddle" src="/templets/html/shop/images/jiantou.gif" /></li>
        <li class="txt_li">提交订单,付款<small>submit/pay</small><img align="absmiddle"src="/templets/html/shop/images/jiantou.gif" /></li>
        <li class="txt_li">等待收货<small>wait for delivery</small></li>
      </ul>
    </div>
  </div>
  <div class="login_main">
    <h3>用户注册</h3>
    <form action="/doTradeReg.do" method="post" name="loginForm">
    <div class="regist">
      <ul>
      <li>
							<span class="name"><strong>*</strong>Email：</span><span> <input
									type="text" name="email" id="email" onblur="checkEmail()"
									class="input_area0" /> <SPAN style="font-size: 12px;" id="p_email"></SPAN> <br /> <small>登录及找回密码不会公开</small>
							</span>
						</li>
						<li>
							<span class="name"><strong>*</strong>用户名：</span><span> <input
									type="text" id="loginid" maxLength="20" name="user_name"
									onblur="checkUser_name()" 
									class="input_area0" /> <SPAN style="font-size: 12px;" id="p_user_name"></SPAN> <br />
								<small>用户名不能为空</small> </span>
						</li>
						<li>
							<span class="name"><strong>*</strong>密 码：</span><span> 
								<INPUT id="password" type="password" maxLength="20" name="passwd"
										onblur="checkPasswd1()"  class="input_area0"/>
									<SPAN style="font-size: 12px;"
								id="passwordLabel1"></SPAN> <br /> <small>密码为大于6位的字母或数字</small> </span>
						</li>
						<li>
							<span class="name"><strong>*</strong>确认密码：</span><span> 
							<INPUT id="confirmPassword" type="password" maxLength="20"
										 onblur="checkPasswd2()"  class="input_area0"/>
							<SPAN style="font-size: 12px;"
								id=confirmPassword1></SPAN> <br /> <small>请确认两次输入的密码相同</small>
							</span>
						</li>
						<li>
							<span class="name"><strong>*</strong>验证码：</span>
							<span> 
								<INPUT id="userrand" maxLength="4" name="userrand" type="text" onblur="checkUserrand()" class="yzm"/>
								<img name="rc" id="rc" src="/checkImage" style="vertical-align: middle;" onclick="changeCode()"/> 
								<SPAN style="font-size: 12px;" id="valcodeIcon"></SPAN> 
							</span>
						</li>
       
        <li><span class="name">
          <input type="button" name="button3" class="login_btn" onclick="Check_User_Login();" style="margin-left:80px;" value="立即注册" />
          </span></li>
      </ul>
      <input type="hidden" name="jumpurl" id="jumpurl"
														value="/shop_member.html" />
							<input type="hidden" name="cookietime" value="7200" />
							<input type="hidden" id="cust_type" name="cust_type" value="1" />
							<input type="hidden" id="state_code" name="state_code"
								value="c" />
							<input type="hidden" id="user_class" name="user_class"
								value="3" />
							<input type="hidden" id="user_type" name="user_type" value="2" />
							<input type="hidden" id="user_state" name="user_state"
								value="0" />
							<input type="hidden" id="cust_class" name="cust_class"
								value="3" />
							<input type="hidden" id="comm_url" name="comm_url" value="" />
							<input type="hidden" id="use_vmoney" name="use_vmoney" value="0" />
							<input type="hidden" id="cust_id" name="cust_id" value="<%=cust_id %>" />
							<input type="hidden" id="user_id" name="user_id" value="<%=user_id %>" />
							<input type="hidden" id="bpm_id" name="bpm_id" value="2624" />
    </div>
    </form>
    <div class="login_r_n">
      <p>已经是商城用户？<br />
        <span class="name">
        <input type="button" name="button3" class="regist_btn" value="点此登陆" onclick="window.location.href='/shop_signin.html';" />
        </span> </p>
    </div>
  </div>
</div>
<!--底部开始-->
<div class="footer">
		<p>
					<%
						Hashtable paraMap = new Hashtable();
								Hashtable contentMap = new Hashtable();
								B2CHelpIndexFiles helpIndex=new B2CHelpIndexFiles();
						paraMap.put("ch_attr", "77f07U1647u8U0S|");
					    List helpList = helpIndex.getHelpInfo(paraMap);

								if (null != helpList && helpList.size() > 0) {
									for (int i = 0; i < helpList.size(); i++) {
										contentMap = (Hashtable) helpList.get(i);
										String info_id = "", title = "",hrefurl="";
										if (contentMap.get("info_id") != null)
											info_id = contentMap.get("info_id").toString();
										if (contentMap.get("title") != null)
											title = contentMap.get("title").toString();
										hrefurl = "/about/help.html?info_id=" + info_id;
										%>
										<a href="<%=hrefurl%>"><%=title%></a>|
										<%
									}
								}
					 %>
				</p>
<p>版权所有 (C) 郑州雷鸣 2013</p>
<p><img src="/templets/html/shop/images/jc01.gif" /><img src="/templets/html/shop/images/jc02.gif" /><img src="/templets/html/shop/images/jc03.gif" /></p>
</div>
<!--底部结束-->

	</body>
</html>
